package com.hansming.bss.modules.sfc.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.hansming.bss.common.service.CrudService;
import com.hansming.bss.modules.sfc.dao.CustomerScoreLogDao;
import com.hansming.bss.modules.sfc.entity.CustomerScoreLog;

/**
 * 用户积分日志Service
 * @author Hansming
 * @version 2017-10-23
 */
@Service
@Transactional(readOnly = true)
public class CustomerScoreLogService extends CrudService<CustomerScoreLogDao,CustomerScoreLog>{

	@Autowired
	private CustomerScoreLogDao customerScoreLogDao;
	
	//个人中心得到信息根据用户id
	public List<CustomerScoreLog> getCustomerScoreLogsByCusid(String id){
		return customerScoreLogDao.getCustomerScoreLogsByCusid(id);
	}
	
}
